package com.biz.controller.home;

import com.framework.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by lzq.
 */
@Controller
@RequestMapping(value="/home")
public class HomeController extends BaseController{


    /**
     * 跳转商城首页
     *
     * @return
     * @throws Exception
     */
    @RequestMapping(value = "/toHome")
    public ModelAndView toHome(ModelAndView mv) throws Exception {
        mv.clear();
        mv.setViewName("home/home");
        return mv;
    }

}
